home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / hostname / RCS / hostname.man,v < prev   
Encoding:
Text File  |  1990-04-20  |  4.2 KB  |  189 lines

  1. head     1.5;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.5
  10. date     90.04.19.20.02.47;  author mgbaker;  state Exp;
  11. branches ;
  12. next     1.4;
  13.  
  14. 1.4
  15. date     88.12.30.09.32.26;  author ouster;  state Exp;
  16. branches ;
  17. next     1.3;
  18.  
  19. 1.3
  20. date     88.12.21.15.14.29;  author ouster;  state Exp;
  21. branches ;
  22. next     1.2;
  23.  
  24. 1.2
  25. date     88.11.22.15.52.13;  author douglis;  state Exp;
  26. branches ;
  27. next     1.1;
  28.  
  29. 1.1
  30. date     88.11.22.15.41.02;  author douglis;  state Exp;
  31. branches ;
  32. next     ;
  33.  
  34.  
  35. desc
  36. @manual page for hostname cmd.
  37. @
  38.  
  39.  
  40. 1.5
  41. log
  42. @Added flag to print machine type.
  43. @
  44. text
  45. @' $Header: /sprite/src/cmds/hostname/RCS/hostname.man,v 1.4 88/12/30 09:32:26 ouster Exp Locker: mgbaker $ SPRITE (Berkeley)
  46. .so \*(]ltmac.sprite
  47. .HS HOSTNAME cmds
  48. .BS
  49. .SH NAME
  50. hostname \- Print name or sprite ID of host
  51. .SH SYNOPSIS
  52. \fBhostname\fR [\fB\-v\fB] [\fB\-p\fB] [\fB\-i\fB] [\fB\-type\fB]
  53. .SH OPTIONS
  54. .IP "\fB\-v\fR"
  55. Print out information about the virtual host, which is the host on which
  56. the process is executing if it is not migrated, or the process's
  57. home node if it is migrated.  This is the default.
  58. .IP "\fB\-p\fR"  
  59. Print out information about the physical host, which is the host on which
  60. the process is physically executing, regardless of whether it is migrated.
  61. .IP "\fB\-i\fR"
  62. Print out sprite ID instead of host name.
  63. .IP "\fB\-type\fR"
  64. Print out the machine type.
  65. .BE
  66. .SH DESCRIPTION
  67. .LP
  68. By default, \fBhostname\fR prints out the official name of the host on
  69. which the process ``appears'' to be executing, 
  70. as specified in the 
  71. host description file.  (This is equivalent to the \fB\-v\fR, or virtual host, 
  72. option.)  Other options may be used to specify that information about the host 
  73. on which the process is currently physically executing be printed, or that 
  74. the integer sprite ID of the host is to be printed instead of host name.   
  75. .SH KEYWORDS
  76. host, name, migration, physical host, virtual host
  77. @
  78.  
  79.  
  80. 1.4
  81. log
  82. @More format upgrades.
  83. @
  84. text
  85. @d1 1
  86. a1 1
  87. ' $Header: /a/newcmds/hostname/RCS/hostname.man,v 1.3 88/12/21 15:14:29 ouster Exp $ SPRITE (Berkeley)
  88. d8 1
  89. a8 1
  90. \fBhostname\fR [\fB\-v\fB] [\fB\-p\fB] [\fB\-i\fB]
  91. d19 2
  92. @
  93.  
  94.  
  95. 1.3
  96. log
  97. @*** empty log message ***
  98. @
  99. text
  100. @d1 1
  101. a1 1
  102. ' $Header: /a/newcmds/hostname/RCS/hostname.man,v 1.2 88/11/22 15:52:13 douglis Exp $ SPRITE (Berkeley)
  103. d8 1
  104. a8 1
  105. \fBhostname\fR [\fB-v\fB] [\fB-p\fB] [\fB-i\fB]
  106. d10 1
  107. a10 1
  108. .IP "\fB-v\fR"
  109. d14 1
  110. a14 1
  111. .IP "\fB-p\fR"  
  112. d17 1
  113. a17 1
  114. .IP "\fB-i\fR"
  115. d22 1
  116. a22 1
  117. By default, Hostname prints out the official name of the host on
  118. d25 1
  119. a25 1
  120. host description file.  (This is equivalent to the \fB-v\fR, or virtual host, 
  121. @
  122.  
  123.  
  124. 1.2
  125. log
  126. @changed to list new arguments (-v/-p/-i)
  127. @
  128. text
  129. @d1 3
  130. a3 2
  131. ' $Header: /a/newcmds/hostname/RCS/hostname.man,v 1.1 88/11/22 15:41:02 douglis Exp Locker: douglis $ SPRITE (Berkeley)
  132. .TH hostname prog
  133. d5 14
  134. a18 4
  135. .NA
  136. hostname \- Print name or spriteID of host(s)
  137. .SY
  138. \fBhostname\fR \fI[-v]\fR \fI[-p]\fR \fI[-i]\fR
  139. d22 1
  140. a22 1
  141. By default, \fIhostname\fR prints out the official name of the host on
  142. d25 1
  143. a25 1
  144. host description file.  (This is equivalent to the \fI-v\fR, or virtual host, 
  145. d28 1
  146. a28 11
  147. the integer spriteID of the host(s) be printed instead of host name(s).  
  148. .IP "-v"
  149. Print out information about the virtual host, which is the host on which
  150. the process is executing if it is not migrated, or the one on which it appears
  151. to be executing if it is migrated.  This is the default.
  152. .IP "-p"  
  153. Print out information about the physical host, which is the host on which
  154. the process is physically executing, regardless of whether it is migrated.
  155. .IP "-i"
  156. Print out sprite IDs for the virtual and or physical hosts rather than 
  157. hostnames. 
  158. @
  159.  
  160.  
  161. 1.1
  162. log
  163. @Initial revision
  164. @
  165. text
  166. @d1 1
  167. a1 1
  168. ' $Header: /sprite/doc/ref/cmds/RCS/hostname,v 1.2 88/11/07 14:00:29 brent Exp $ SPRITE (Berkeley)
  169. d5 1
  170. a5 1
  171. hostname \- Print name or spriteID of host
  172. d7 1
  173. a7 1
  174. \fBhostname \fR["num"]
  175. a8 1
  176.  
  177. d11 17
  178. a27 6
  179. Prints out the official name of this host machine, as specified in the
  180. host description file.  If an argument is present, then \fBhostname\fR
  181. prints out the integer spriteID of the host instead.  This feature is used to
  182. create the name of swap directories, which are of the form
  183. /swap/\fIspriteID\fR.  
  184.  
  185. d29 1
  186. a29 1
  187. host, name
  188. @
  189.